import org.springframework.context.support.ClassPathXmlApplicationContext;

//启动注册中心 zookeeper
public class CargoServiceStart {
        public static void main(String[] args) throws Exception {
            ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath*:spring/applicationContext-*.xml");
            context.start();
            System.in.read(); // 按任意键退出
        }
}
